// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class FueAnnounceCompany : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<FueAnnounceCompany, MasterDbContextLocator>
    {

        public string AnnounceCode { get; set; }
        public string CompanyCode { get; set; }
    
        public void Configure(EntityTypeBuilder<FueAnnounceCompany> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.HasNoKey();

                entityBuilder.Property(e => e.AnnounceCode)
                    .IsRequired()
                    .HasMaxLength(50);

                entityBuilder.Property(e => e.CompanyCode)
                    .IsRequired()
                    .HasMaxLength(50);
        }

    }
}

